package com.qf.staff.common.qo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * 工资表
 */
@Data
@TableName(value = "payroll")
public class PayrollQo {
    /**
     * 工资id
     */
    @TableId(value = "pay_id", type = IdType.INPUT)
    private Integer payId;

    /**
     * 员工id
     */
    @TableField(value = "emp_id")
    private Integer empId;

    /**
     * 级别
     */
    @TableField(value = "`rank`")
    private Integer rank;

    /**
     * 每月工资
     */
    @TableField(value = "salary")
    private Double salary;

    @TableField(value = "`status`")
    @Version
    private Integer status;


}